Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Query protocol #218

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

neeleshpoli
Copy link
Contributor

@neeleshpoli neeleshpoli commented Oct 31, 2024

Description

This implements the Query protocol, supported by the vanilla server, to allow for a different way to get information about the server.

More info at protocol docs

Tasks:

  • Add query options to config
  • Added packet data types
  • Correctly handle config options
  • Correctly parse a handshake packet
  • Correctly respond to handshake packet
  • Correctly parse basic status packet
  • Correctly respond to basic status packet
  • Correctly parse full status packet
  • Correctly respond full status packet
  • Add tokio to pumpkin protocol for AsyncReadExt and AsyncWriteExt convenience functions (docs)
  • Update docs and README

Testing

Send test query packets using services like

Checklist

Things need to be done before this Pull Request can be merged.

  • Code is well-formatted and adheres to project style guidelines: cargo fmt
  • Code does not produce any clippy warnings cargo clippy

Added packet data types
Correctly parse a handshake packet
Add tokio to pumpkin protocol for `AsyncReadExt` convenience functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants